From: João Távora Date: Sat, 2 Nov 2019 11:09:55 +0000 (+0000) Subject: Correct merge blunder in last icomplete commit X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~1155 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6911ef3da69333cb7adc1a7fb0a0fc001220a0c4;p=emacs.git Correct merge blunder in last icomplete commit * lisp/icomplete.el (icomplete-exhibit): Use while-no-input-ignore-events. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 8357fd900f0..e1d6236943c 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -443,11 +443,7 @@ See `icomplete-mode' and `minibuffer-setup-hook'." ;; Don't delay if the completions are known. completion-all-sorted-completions ;; Don't delay if alternatives number is small enough: - ;; Not sure why, but such requests seem to come - ;; every once in a while. It's not fully - ;; deterministic but `C-x C-f M-DEL M-DEL ...' - ;; seems to trigger it fairly often! - (while-no-input-ignore-events '(selection-request)) (and (sequencep (icomplete--completion-table)) + (and (sequencep (icomplete--completion-table)) (< (length (icomplete--completion-table)) icomplete-delay-completions-threshold)) ;; Delay - give some grace time for next keystroke, before